.class final Lcom/wqmobile/sdk/widget/j;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/widget/ADView;


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/j;)Lcom/wqmobile/sdk/widget/ADView;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    return-object v0
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->r(Lcom/wqmobile/sdk/widget/ADView;)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->s(Lcom/wqmobile/sdk/widget/ADView;)V

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->t(Lcom/wqmobile/sdk/widget/ADView;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    new-instance v1, Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0}, Landroid/view/Display;->getHeight()I

    move-result v0

    int-to-float v0, v0

    invoke-direct {v1, v2, v2, v2, v0}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v2, 0x12c

    invoke-virtual {v1, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    new-instance v0, Lcom/wqmobile/sdk/widget/k;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/k;-><init>(Lcom/wqmobile/sdk/widget/j;)V

    invoke-virtual {v1, v0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/j;->a:Lcom/wqmobile/sdk/widget/ADView;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->c(Lcom/wqmobile/sdk/widget/ADView;)Landroid/widget/FrameLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->startAnimation(Landroid/view/animation/Animation;)V

    return-void
.end method
